<extend name="public/base"/>

<block name="content">
   <!--左侧菜单结束-->
    <!--内容栏start-->
 
   <br/>
    <ul class="nav nav-tabs">
   <li class="active"><a href="{:U('Index/upDushujie')}">节目上报</a></li>
   <li><a href="{:U('Index/viewDushujie')}">浏览节目单</a></li>
   <li><a href="{:U('Index/sortDushujie','id='.$vo['id'])}" >节目排序</a><li>
  

   </ul>
	<!-- 标题栏 -->
	  
    <h4 class="center">最近上报的节目</h4>
      
  
    <!-- 数据列表 -->
        <div class="tablelist ">
         <table class="table data-table table-striped">
             <thead>
            <tr class="info">
                
                <th class="">序号</th>                                     
                <th class="">班级</th>
                <th class="">班主任</th>
                <th class="">节目名称</th>
                <th class="">节目时长</th>              
                <!-- <th class="">解说词</th> -->
                <th class="">更新时间</th>                
                <th class="">操  作</th>
            </tr>
            </thead>
            <tbody>
            <notempty name="list">
                <volist name="list" id="vo">
                <tr>
                    
                    <td>{$vo.id} </td>
                    <td>{$vo.class}</td>
                    <td>{$vo.headteacher}</td>
                    <td>{$vo.title}</td>
                    <td>{$vo.show_time}</td>
                    <!-- <td>{$vo.abstract|msubstr=0,20,'utf-8',true}</td> -->      
                    <td><span>{$vo.update_time|date='Y-m-d H:i:s',###}</span></td>                        
                    <td>
                        <a href="{:U('Index/editDushujie','id='.$vo['id'])}" >编辑</a> |
                        <a href="{:U('Index/deleteDushujie?id='.$vo['id'])}" class="authorize">删除</a>                        
                        </td>
                </tr>
                </volist>
                <else/>
                <td colspan="8" class="text-center"> aOh! 暂时还没有内容! </td>
                </notempty>
            </tbody>
            </table>
        </div>    	
           <h3>读书节节目上报 </h3>  
  
        <form method='post' id="form" class="form-inline" name="formdushuji"  action="" >
 
           <div class="col-md-5 form-group">
           <label class="control-lable" for="class"> 班　　级：</label>
           <select name="class" id="class" class="form-control"  style="width:180px;">
            <option value="" > 请选择班级</option>
            <volist name="classlist" id="vo"  >  
                  <option value={$vo.class} > {$vo.class}</option>
                </volist>
                   </select>                  
            </div>

            <div class="col-md-4  form-group ">
                 <label class="control-lable">班 主 任 ：</label>            
                <input class="form-control" type="text"  name="teacher" value="" placeholder="请输入姓名">    
        　　</div>
            <hr class="col-md-8"/>     
            <div class="col-xs-5 form-group">
                 <label class="control-lable">节目名称：</label>            
                <input class="form-control form-lg" type="text"  name="title" value="" placeholder="请输入节目名称">    
        　　</div>
            <div class="col-xs-4 form-group">
                 <label class="control-lable">节目时长：<span class="check-tips"></span></label>            
                <input class="form-control" type="text"  name="showtime" value=""　placeholder="请输入（估计大致时间）" >    
        　　</div><br/>
        
　　　　　　<div class="form-group">
            <label class="control-lable">解说词：<span class="check-tips">（可暂不填写，以后按点击修改补充完整）</span></label>
            <div class="form-controls">
               <textarea name="abstract" class="text input-large"></textarea>
              {:hook('adminArticleEdit', array('name'=>'abstract','value'=>$data['abstract']))}
            </div>
            </div>
      <div class="form-actions"> 
        <button type="submit" class="btn btn-primary">确定上报</button>
        <button type="button" class="btn btn-danger">取消</button>  
        </div>
        </div>
      </form> 
   
      <hr/>

</block>

